//
// Created by v on 24-11-26.
//

#ifndef JKLIBS_CMUISHOWINTERFACE_H
#define JKLIBS_CMUISHOWINTERFACE_H

#include "cm_service_base.h"

class CMUIShowInterface: public CMServiceBaseInterface
{
  public:
    CMUIShowInterface();
    virtual ~CMUIShowInterface();

    virtual int showMain() = 0;
    virtual int runLoop() = 0;
    virtual int runOnce() = 0;

    virtual int uiShowImage(const char *image_file) = 0;
    virtual int uiShowImage(const char *image_buf, unsigned long long image_buf_size) = 0;
    virtual int uiShowImage(const char *buf, unsigned long long buf_size, int width, int height) = 0;

    virtual int uiShowText(const char *text) = 0;
};

#endif // JKLIBS_CMUISHOWINTERFACE_H
